<?php


namespace app\common\validate;


class UsernameValidate extends BaseValidate
{
    protected $rule = [
        'username' => 'require|max:50',
    ];

    protected $message = [
        'username' => '用户名不能为空，且不超过50个字符',
    ];
}